package com.geovis.emergency.spd.entity.resources.dto;

import com.geovis.emergency.spd.entity.resources.enums.ResourceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 查询 入参对象
 * </p>
 *
 * @author 曾德实
 * @since 2022-06-14 17:36:00
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "ResourceSearchDTO", description = "查询入参")
public class ResourceSearchDTO implements Serializable {
    @ApiModelProperty("数据id")
    private String id;


    @ApiModelProperty("距离,单位:km,必须填写经度和维度才会查询")
    private Double distance;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("资源类型")
    private ResourceTypeEnum typeCode;

//
//    @ApiModelProperty("资源类型")
//    private ResourceTypeEnum type;


}
